home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
__MANDEL
/
TCL_SOUR
/
CDWDLOGD.C
< prev
next >
Wrap
Text File
|
1992-03-27
|
1KB
|
42 lines
// CDWDLOGDirector.c
#include <CDWDLOGDirector.h>
/******************************************************************************
CDWDLOGDirector.c
SUPERCLASS = CDLOGDirector
override to allow for a CDWDLOGDialog to be created instead of a CDLOGDialog.
******************************************************************************/
#include <CDWDLOGDialog.h>
#include <CDecorator.h>
extern struct CDesktop *gDesktop;
extern CDecorator *gDecorator;
/******************************************************************************
IDLOGDirector
Initialize a DLOGDirector object. Creates a DLOGDialog using the
specified DLOGid.
******************************************************************************/
void CDWDLOGDirector::IDLOGDirector( short DLOGid,
CDirectorOwner *aSupervisor)
{
CDWDLOGDialog *dialog;
CDLOGDirector::IDLOGDirector( DLOGid, aSupervisor);
dialog = new( CDWDLOGDialog);
itsWindow = dialog;
dialog->IDLOGDialog( DLOGid, gDesktop, this);
gDecorator->CenterWindow( dialog);
}